package com.ujson.order.domain.repository.impl;

import com.ujson.order.entity.dto.OrderQuery;
import com.ujson.order.entity.model.Order;
import com.ujson.order.entity.model.OrderId;
import com.ujson.order.persistence.OrderDao;
import com.ujson.order.domain.repository.OrderRepository;
import com.ujson.stock.entity.model.StoreId;
import com.ujson.base.web.entity.dto.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderRepositoryImpl implements OrderRepository {

    @Autowired
    private OrderDao orderMapper;

    @Override
    public Long count(OrderQuery query) {
        return null;
    }

    @Override
    public Page<Order> query(OrderQuery query) {
        return null;
    }

    @Override
    public Order findStore(OrderId id, StoreId storeId) {
        return null;
    }

}
